package com.umakr.ax.common.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.umakr.ax.common.model.Feedback;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 *
 * @author umakr
 * @date 2018/5/17
 */


public interface FeedbackMapper extends BaseMapper<Feedback> {

    void saveFeedbackInfo(Feedback feedback);

    Page<Feedback> listFeedback(@Param("type")Integer type,
                                @Param("startTime") Date startTime,
                                @Param("endTime")Date endTime,
                                @Param("systemName") String systemName,
                                @Param("confirmStatus") Integer confirmStatus,
                                @Param("solveStatus") Integer solveStatus);

    void updateFeedback(@Param("id")Long id, @Param("confirmStatus")Integer confirmStatus, @Param("solveStatus")Integer solveStatus,@Param("delStatus")Integer delStatus);

}
